package com.yhd.mediator;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author yhd
 * @email yinhuidong1@xiaomi.com
 * @description TODO
 * @since 2021/5/22 上午1:14
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class TianGouTwo {

    private Mm mm;

    public void toHappy(){
        System.out.println("TianGouTwo 发起约会");
        mm.yuehui("toHappy");
    }

    public void goHome(){
        System.out.println("TianGouTwo 回家");
        mm.yuehui("goHome");
    }
}
